package com.chendx.store.common.constants.ampq;

/**
 * Created by chendx on 2022/4/24.
 */
public class AMQPConstants {

    //EXCHANGE
    public static String MQ_SECKILL_EXCHANGE_SECKILLORDERTIMER = "mq.seckill.exchange.seckillOrderTimer";
    public static String MQ_ORDER_EXCHANGE_ORDERTIMER = "mq.order.exchange.ordertimer";
    public static String MQ_ORDER_EXCHANGE_ORDERPAYNOTICE = "mq.order.exchange.orderpaynotice";

    //QUEUE
    public static String MQ_SECKILL_QUEUE_SECKILLORDERTIMER = "mq.seckill.queue.seckillOrderTimer";
    public static String MQ_SECKILL_QUEUE_SECKILLORDERDELAYTIMER = "mq.seckill.queue.seckillOrderDelayTimer";
    public static String MQ_ORDER_QUEUE_ORDERTIMER = "mq.order.queue.ordertimer";
    public static String MQ_ORDER_QUEUE_ORDERTIMERDELAY = "mq.order.queue.ordertimerdelay";
    public static String MQ_ORDER_QUEUE_ORDERPQYNOTICE = "mq.order.queue.orderpaynotice";

    //NOTICE
    public static String ORDER_PAY_NOTICE = "order_pay_notice_";

    //ROUTING
    public static String MQ_SECKILL_ROUTING_TIMERKEY = "mq.seckill.routing.timerkey";
    public static String MQ_ORDER_ROUTING_TIMERKEY = "mq.order.routing.timerkey";

    //ARGUMENT
    public static String X_DEAD_LETTER_EXCHANGE = "x-dead-letter-exchange";
    public static String X_DEAD_LETTER_ROUTING_KEY = "x-dead-letter-routing-key";
}
